package com.smartwebx.ha.biz.assign;

import java.util.Collection;
import java.util.List;

import com.google.common.collect.SetMultimap;
import com.smartwebx.ha.dal.assign.bean.HaStationArea;
import com.smartwebx.ha.dal.usebean.StationAdminArea;

public interface HaStationAreaManager {
	public List<HaStationArea> getStationAreaByAreaId(Integer areaId);

	public SetMultimap<Integer, String> getAreaStarGroupMap();
	
	public void rePullAreaStatGroup();
	
	/**
	 * 获得根据行政区域划分的水雨情站
	 * 
	 * @return
	 */
	public Collection<StationAdminArea> getStationsByAdminArea(int areaId);

	/**
	 * 根据行政区域划分用户区域下的所有水雨情站
	 * 
	 * @param areaId
	 * @return
	 */
	public Collection<StationAdminArea> getAreaStationsByAdminArea(int areaId,int statGroupId);

	public void addStationArea(Integer area, List<String> stations);

	public void removeStationArea(Integer areaId, List<String> stations);
}
